{extend name="public/layout"}
{block name="title"}捐赠记录{/block}
{block name="head"}
<style>
    html, body {
        background-color: #fafafa;
    }

    .list > .list-item:nth-child(2n+1) {
        background-color: #fff;
    }
</style>
{/block}
{block name="content"}

<div>
    <div class="list" id="list">
        {volist name="m" id="vo"}
        <div class="list-item border-b flex">
            <div class="flex-con">
                <div class="h0">珊瑚公益</div>
                <div class="h3 text-gray">
                    {$vo.pay_time}
                </div>
            </div>
            <div class="text-right">
                <b class="bigger text-primary">
                    {$vo.money}
                </b>
                <span class="h4">元</span>
            </div>
        </div>
        {/volist}
    </div>
</div>



<script type="text/html" id="template">
    {{#for(var i=0,len=d.data.length; i < len ; i++){}}
    <div class="list-item border-b flex">
        <div class="flex-con">
            <div class="h0">珊瑚公益</div>
            <div class="h3 text-gray">
                {{d.data[i].pay_time}}
            </div>
        </div>
        <div class="text-right">
            <b class="bigger text-primary">
                {{d.data[i].money}}
            </b>
            <span class="h4">元</span>
        </div>
    </div>
    {{#}}}
</script>

{:_js('js/loader.js')}
{:_js('static/laytpl/laytpl.js')}
<script>
    Loader.m1('list','template');
</script>

{/block}